package cn.mldn.demo.JavaGenericity;

class Message<T> { // 定义泛型类对象
	private T content; // 泛型属性

	public void setContent(T content) {
		this.content = content;
	}

	public T getContent() {
		return this.content;
	}
}